<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Landing extends Backend_Controller {

	protected $_title = 'SIUL';

	public function __construct() {
		parent::__construct();
		if(parent::get_actor_login()!="admin")
			redirect('login/index/1');
	}
		
	public function index($offset=0, $sort_by='name') {
		
		$data = array(
			'mainview' => 'index',
		) + $this->_get_header_data();
		
		$this->load->view('admin/template',$data);
		
	}
	
	function _crud_output($output = null) {
        $this->load->view('admin/template_crud.php',$output);    
    }
}
